#include "sunthread.h"

SunThread::SunThread(int i, QObject *parent) :
    QThread(parent)
{

}

SunThread::~SunThread()
{
    wait();
}

void SunThread::run()
{
    for(int i = -2147483648; i < 2147483647; i++)
    {
        QThread::sleep(1);
        qDebug() << "run thread";
    }
}
